package com.ph.shopping.common.core.customenum;

public enum MessageEnum {
	SUCCESS(200, "成功"),
	EXCEPTION(500,"服务器异常"),
	NO_RESOURCE(400,"服务器无法回应"),
	NO_PARAM(10001,"参数不能为空");
	
	private MessageEnum(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
	
	private int code;
	private String msg;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
}
